//
//  ShowLoginViewController.m
//  WuLi
//
//  Created by Gollum on 16/9/18.
//  Copyright © 2016年 Gollum. All rights reserved.
//

#import "ShowLoginViewController.h"
#import "LoginViewController.h"
#import "RegisterViewController.h"
@interface ShowLoginViewController ()
@property (weak, nonatomic) IBOutlet UIImageView *headImage;

@property (weak, nonatomic) IBOutlet UIButton *regisetButton;
@end

@implementation ShowLoginViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    _regisetButton.clipsToBounds = YES;
    _headImage.clipsToBounds = YES;
    
    _regisetButton.layer.cornerRadius = self.regisetButton.frame.size.height / 2;
    _headImage.layer.cornerRadius = self.headImage.frame.size.width / 2 + 5;
}
- (IBAction)phoneLoginButton:(id)sender {
    LoginViewController *login = [[LoginViewController alloc] init];
    [self presentViewController:login animated:YES completion:^{
        
    }];
}


- (IBAction)regisetButton:(id)sender {
    RegisterViewController *registerView = [[RegisterViewController alloc] init];
    [self presentViewController:registerView animated:YES completion:^{
        
    }];
    
    
}
- (IBAction)handleBack:(id)sender {
    [self dismissViewControllerAnimated:YES completion:^{
        
    }];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
